
#include "PlatformProperty.h"

TRANSMIT_READ_PROPERTY(DrvrPfmncSwitchSts,DrvrPfmncSwtichSts) {
    builder.area(VehicleArea::GLOBAL)
        .initValue([](){
                return DrvrPfmncSwtichSts(-1);
        })
        .immutableStatus(PropertyStatus::Active)
        .withValueBySignals([]([[maybe_unused]]const DrvrPfmncSwtichSts& last){

                auto signal=SIGNAL.getDrvrPfmncSwitchSts();
                return DrvrPfmncSwtichSts((int32_t)signal);

        },ecarx::transfer::SignalRX::DrvrPfmncSwitchSts);
}
